<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>P163【例7-5】demo05.html</title>
</head>

<body>
    <ul id="ul">
        <li>JS</li>
        <li>BOM</li>
        <li>DOM</li>
        <!--注释-->
    </ul>
    <script>
        var ul = document.getElementById('ul');
        console.log(ul.childNodes);
    </script>
    <a href="../首页/page07.html">
        <h2>返回上一页面</h2>
    </a>
</body>

</html>